home *** CD-ROM | disk | FTP | other *** search
- #ifndef GRP_H
- #define GRP_H
- /*
- ** $Filename: grp.h $
- ** $Release$
- ** $Revision: 3.3 $
- ** $Date: 1994/04/07 20:23:52 $
- **
- ** Definitions of gid_t and group structure for 32 bit C compilers
- **
- ** Copyright © 1993,1994 AmiTCP/IP Group, <AmiTCP-Group@hut.fi>
- ** Helsinki University of Technology, Finland.
- ** All rights reserved.
- */
-
- #ifndef SYS_TYPES_H
- #include <sys/types.h>
- #endif
-
- /* The group structure */
- struct group {
- char *gr_name; /* Group name. */
- char *gr_passwd; /* Password. */
- gid_t gr_gid; /* Group ID. */
- char **gr_mem; /* Member list. */
- };
-
- struct group *getgrgid(gid_t gid);
- struct group *getgrnam(const char * name);
-
- void setgrent(void);
- struct group *getgrent(void);
- void endgrent(void);
-
- #endif /* GRP_H */
-